package com.scms.secondclass.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.scms.common.annotation.Excel;
import com.scms.common.core.domain.BaseEntity;

/**
 * 签到记录对象 sign_record
 */
public class SignRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到ID */
    private Long signId;

    /** 报名ID */
    @Excel(name = "报名ID")
    private Long enrollmentId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 活动ID */
    @Excel(name = "活动ID")
    private Long activityId;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signTime;

    /** 签到位置 */
    @Excel(name = "签到位置")
    private String signLocation;

    /** 签到类型（0手动签到 1扫码签到 2位置签到） */
    @Excel(name = "签到类型", readConverterExp = "0=手动签到,1=扫码签到,2=位置签到")
    private String signType;

    /** 状态（0正常 1异常） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=异常")
    private String status;

    // 非数据库字段
    private String userName;
    private String activityName;

    public Long getSignId() {
        return signId;
    }

    public void setSignId(Long signId) {
        this.signId = signId;
    }

    public Long getEnrollmentId() {
        return enrollmentId;
    }

    public void setEnrollmentId(Long enrollmentId) {
        this.enrollmentId = enrollmentId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Date getSignTime() {
        return signTime;
    }

    public void setSignTime(Date signTime) {
        this.signTime = signTime;
    }

    public String getSignLocation() {
        return signLocation;
    }

    public void setSignLocation(String signLocation) {
        this.signLocation = signLocation;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }
}